//
//  RASender.m
//  ReplyAssistant
//
//  Created by liaozhenming on 2018/11/23.
//  Copyright © 2018 KK. All rights reserved.
//

#import "RASender.h"

@implementation RASender

+ (instancetype)itemWithJson:(NSDictionary*)json {
    RASender *item = [RASender new];
    if ([json isKindOfClass: [NSDictionary class]]) {
        NSString *nick = json[@"nick"];
        NSString *headimg = json[@"headimg"];
        NSString *identifier = json[@"id"];
        item.nick = nick;
        item.headimg = headimg;
        item.identifier = identifier;
    }
    return item;
}

@end
